/*
 ============================================================================
 Page	     : 338
 Name        : put_out.c
 Date	     : 20210406
 Author      : Hbue 18060333
 Copyright   : Your copyright notice
 Description : 使用puts()
 ============================================================================
 */

#include <stdio.h>
#define DEF "I am a #defined string."

int main(void)
{
	char str1[80] = "An array was initialized to me.";
	const char *str2 = "A pointer was initialized to me.";

	puts("I am a argument to puts().");
	puts(DEF);
	puts(str1);
	puts(str2);
	puts(&str1[5]);
	puts(str2 + 4);

	return 0;
}

